package com.bmadmin.service;

import com.bmadmin.domain.AddressUser;
import com.bmadmin.domain.LayUiDataTablePOJO;
import com.bmadmin.domain.NormalResult;
import com.bmadmin.domain.SysDepartmentsPOJO;

public interface AddressService {

	NormalResult getAddressTreeList(SysDepartmentsPOJO sysDepartmentsPOJO);

	LayUiDataTablePOJO getUserList(AddressUser addressUser);

	int getNextDepartId(String d_part_id);

	int getNextDId(String d_part_id);

	NormalResult insertDepartment(SysDepartmentsPOJO sysDepartmentsPOJO);

	NormalResult getDepartmentById(SysDepartmentsPOJO sysDepartmentsPOJO);

	NormalResult updateDepartment(SysDepartmentsPOJO sysDepartmentsPOJO);

	NormalResult delDepartment(SysDepartmentsPOJO sysDepartmentsPOJO);

	NormalResult insertUser(AddressUser addressUser);

	NormalResult updateUser(AddressUser addressUser);

	NormalResult deleteUser(String u_id);

}
